enum TAlign {
  left = 'left',
  center = 'center',
  right = 'right'
}

export interface IRecordData {
  type?: string;
  label: string;
  prop: string;
  width?: number | string;
  defaultValue?: any;
  slotName?: string;
  align?: TAlign;
}

export interface IContentConfig {
  pageName: string;
  header: {
    title?: string;
    btnText?: string;
  };
  tableData: IRecordData[];
  labelWidth?: string;
  childrenTree?: any;
  notPagination?: boolean;
}

export interface IContentProps {
  contentConfig: IContentConfig;
}
